package cn.fz.luck.saas.service;

import cn.fz.luck.saas.bean.SysStatusEnum;
import cn.fz.luck.saas.model.SysUser;
import org.springframework.stereotype.Component;

/**
 * Created by zhuangqi on 17-7-6.
 */
@Component
public interface SysUserService {

    public SysUser getByUserName(String userName);

    public SysUser insert(SysUser sysUser);

    public void update(SysUser sysUser);

    public void updateStatus(String userId, SysStatusEnum statusEnum);
}
